]> dgit.raspbian.org Git - gnome-shell.git/commit
util: Add createTimeLabel()
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 25 Feb 2015 22:23:49 +0000 (23:23 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 4 Mar 2015 12:55:01 +0000 (13:55 +0100)
commit8f424e7d96c823552f30cde2bd4471fedb42031e
treebdc9a5263fd01cc86b7dd67703a343d2023bcb1b
parent39fd7b9a05a75dabd19628ab1ac4afe007404bb5
util: Add createTimeLabel()

On locales that support it, time formats should follow the 12-hour/24-hour
preference, which implies that they should be updated when the setting
changes. So add another utility method which creates a label for a specific
time and keeps it in sync with the format setting.

https://bugzilla.gnome.org/show_bug.cgi?id=745111
js/misc/util.js